package com.musemun.config;

import org.springframework.stereotype.Component;

import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;

public class MyDefineValidator implements ConstraintValidator<MyDefineAnnotation,Object> {
    @Override
    public boolean isValid(Object o, ConstraintValidatorContext constraintValidatorContext) {
        System.out.println("=================="+o);
        return false;
    }
}
